package com.fansl.koala.quickdev.component.message.email;

import com.fansl.koala.quickdev.common.bean.entity.SendMailMessage;
import com.fansl.koala.quickdev.common.bean.po.SendMailMessagePo;

/**
 * @author fansl
 * @Description: 邮件消息模板
 * @date 2020/3/18 17:09
 */
public interface EmailMessageTemplateExecutor {

    /**
     * 创建消息模板
     * @param mailMessage 邮箱消息内容
     * @throws Exception 异常信息
     */
    SendMailMessage createMessageTemplate(SendMailMessagePo mailMessage) throws Exception;
}
